FluentBooking\App\Models\CalendarSlot D

Total Complexity 186
Dependencies 12
Dependents 26
Total lines 959
Lines of code 666
Logical lines of code 328
Comment lines 16
Methods 76
Properties 3

Methods 76

Method Rating Maintainability Complexity Lines of code
getNotifications()
A
50 10 30
getMinBookableDateTime()
S
56 7 17
getDirty()
S
58 6 15
getMaxLookUpDate()
S
58 6 14
getAuthorProfile()
S
55 5 20
isConfirmationRequired()
S
56 5 18
getMinLookUpDate()
S
58 5 14
isPaymentEnabled()
S
61 5 12
getMaxBookableDateTime()
S
57 4 16
getLocationFields()
S
46 2 46
getDateOverrides()
S
58 4 15
getPublicUrl()
S
60 4 14
getWeeklySlots()
S
59 4 13
getScheduleTimezone()
S
62 4 11
getHostIdsSortedByBookings()
S
57 3 16
getPaymentSettings()
S
50 2 31
getWooProductPrice()
S
59 3 14
getWooProductPriceByDuration()
S
62 3 12
getAuthorProfiles()
S
62 3 11
getPricingTotal()
S
63 3 11
updateMeta()
S
57 2 18
getSlotSettingsSchema()
S
58 2 16
isProEvent()
S
79 3 3
getDuration()
S
64 3 10
getDescription()
S
66 3 9
getSlotInterval()
S
69 3 6
getCutoutSeconds()
S
66 3 7
getHostIds()
S
66 3 9
getCanNotCancelSettings()
S
63 3 10
getCanNotRescheduleSettings()
S
63 3 10
defaultLocationHtml()
S
64 3 10
getPaymentItems()
S
64 3 9
isTeamDefaultSchedule()
S
67 3 8
isTeamCommonSchedule()
S
68 3 8
getAvailableDurations()
S
62 2 12
boot()
S
65 2 9
setSettingsAttribute()
S
66 2 8
isTeamEvent()
S
79 2 3
isOneOffEvent()
S
79 2 3
isMultiHostEvent()
S
79 2 3
isMultiHostsEvent()
S
79 2 3
isMultiGuestEvent()
S
79 2 3
isLocationFieldRequired()
S
68 2 7
isPhoneRequired()
S
70 2 6
isAddressRequired()
S
70 2 6
getDefaultDuration()
S
71 2 6
getMeta()
S
64 2 10
isWooEnabled()
S
78 2 3
isRoundRobinDefaultSchedule()
S
79 2 3
isRoundRobinCommonSchedule()
S
79 2 3
getSettingsAttribute()
S
80 1 3
setLocationSettingsAttribute()
S
78 1 3
getLocationSettingsAttribute()
S
80 1 3
calendar()
S
79 1 3
bookings()
S
79 1 3
user()
S
79 1 3
isGroup()
S
80 1 3
isSingleEvent()
S
80 1 3
isGroupEvent()
S
80 1 3
isRoundRobin()
S
80 1 3
isCollective()
S
80 1 3
isGuestFieldRequired()
S
80 1 3
setNotifications()
S
80 1 3
getBookingFields()
S
80 1 3
setBookingFields()
S
79 1 3
isMultiDurationEnabled()
S
79 1 3
isReserveTime()
S
79 1 3
getAvailableTimes()
S
79 1 3
getTotalBufferTime()
S
72 1 5
getMaxBookingPerSlot()
S
82 1 3
isConfirmationEnabled()
S
79 1 3
defaultPaymentIcon()
S
75 1 4
getProcessedWeeklySlots()
S
69 1 6
getProcessedDateOverrides()
S
66 1 8
getCalendarEventsMeta()
S
71 1 6
getIntegrationsMeta()
S
71 1 6